<?php

/**
 * Author: Thu Bach
 * Last updated: 20141115
 * Goal: configuration for route
 */	
 
 //create the routes
 
 $router = new \Phalcon\Mvc\Router();
 
 
 /*
 * Author: Thu Bach
 * Last updated: 20141115
 * Goal: ins route for insert Attribute
 */	
 $router->add(
 	"/Test/insAttribute/{description}/{entity}/{view}/{attribute}",
 	array(
 		"controller"=>"Test",
 		"action"=>"insAttribute"
	)
 );
 
 $router->add("/Test/test/([0-9]{2})",
 	array("controller"=>"Test",
 		"action"=>test,
 		"id"=>1
	)
 );
 
 $router->add("/Test/getAttributeEntity/{entity}",
 	array(
 		"controller"=>"Test",
 		"action"=>"getAttributeEntity"
	)
 )
